import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '切坡高度权重',
    align: "center",
    dataIndex: 'cutSlopeHeightWeight'
  },
  {
    title: '切坡坡度权重',
    align: "center",
    dataIndex: 'cutSlopeGradientWeight'
  },
  {
    title: '切坡坡形权重',
    align: "center",
    dataIndex: 'cutSlopeShapeWeight'
  },
  {
    title: '自然斜坡坡度权重',
    align: "center",
    dataIndex: 'naturalSlopeGradientWeight'
  },
  {
    title: '土层松散程度权重',
    align: "center",
    dataIndex: 'soilLoosenessWeight'
  },
  {
    title: '土体类型权重',
    align: "center",
    dataIndex: 'overlyingSoilTypeWeight'
  },
  {
    title: '岩组类型权重',
    align: "center",
    dataIndex: 'rockTypeWeight'
  },
  {
    title: '植被覆盖率权重',
    align: "center",
    dataIndex: 'vegetationCoverageWeight'
  },
  {
    title: '已有治理措施权重',
    align: "center",
    dataIndex: 'governanceMeasuresWeight'
  },
];

// 高级查询数据
export const superQuerySchema = {
  cutSlopeHeightWeight: {title: '切坡高度权重',order: 0,view: 'number', type: 'number',},
  cutSlopeGradientWeight: {title: '切坡坡度权重',order: 5,view: 'number', type: 'number',},
  cutSlopeShapeWeight: {title: '切坡坡形权重',order: 10,view: 'number', type: 'number',},
  naturalSlopeGradientWeight: {title: '自然斜坡坡度权重',order: 15,view: 'number', type: 'number',},
  soilLoosenessWeight: {title: '土层松散程度权重',order: 19,view: 'number', type: 'number',},
  overlyingSoilTypeWeight: {title: '土体类型权重',order: 22,view: 'number', type: 'number',},
  rockTypeWeight: {title: '岩组类型权重',order: 26,view: 'number', type: 'number',},
  vegetationCoverageWeight: {title: '植被覆盖率权重',order: 40,view: 'number', type: 'number',},
  governanceMeasuresWeight: {title: '已有治理措施权重',order: 44,view: 'number', type: 'number',},
};
